package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "RealEstateLease")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class RealEstateLeaseXmlDTO {
    /**
     * 产权证书（不动产权证号码）
     */
    @XmlElement(name = "RealEstateWarrantNumber")
    private String realEstateWarrantNumber;

    /**
     * 不动产地址
     */
    @XmlElement(name = "RealEstateAddress")
    private String realEstateAddress;

    /**
     * 租赁期起止
     */
    @XmlElement(name = "TheLeaseTermBeginsAndEnds")
    private String theLeaseTermBeginsAndEnds;

    /**
     * 跨地（市）标志
     */
    @XmlElement(name = "CrossRegionIdentifier")
    private String crossRegionIdentifier;
}